Home:ALL Converter>Error connecting to Cloud SQL if using Self-signed certificate by Google

Error connecting to Cloud SQL if using Self-signed certificate by Google

Ask Time:2018-01-25T12:18:16         Author:Sergio

Json Formatter

When trying to connect to Cloud SQL using a Google's self-generated SSL certificate we get the following error:

Connection to database could not be established: SQLSTATE [HY000] [2002]

Author:Sergio,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48435614/error-connecting-to-cloud-sql-if-using-self-signed-certificate-by-google
yy